Measuring a Shape in Device Coordinates
The functions described in this section allow you to get a shape's bounding rectangle and its area, as measured on a view device. Other QuickDraw GX functions are available to measure shapes in other contexts:
- To determine a shape's bounding rectangle in local coordinates, use the
GXGetShapeLocalBounds
function, described on page 7-96.- To determine a shape's bounding rectangle in global coordinates, use the
GXGetShapeGlobalBounds
function, described on page 7-125.- To determine a shape's bounding rectangle in geometry-space coordinates, use the
GXGetShapeBounds
function, described in the geometric operations chapter of Inside Macintosh: QuickDraw GX Graphics.
Subtopics
- GXGetShapeDeviceBounds
- GXGetShapeDeviceArea